package com.job.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("私信表")
public class Message {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("发送方id")
    private Integer fromId;

    @ApiModelProperty("接受方id")
    private Integer toId;

    @ApiModelProperty("会话id")
    private String conversationId;

    @ApiModelProperty("内容")
    private String context;

    @ApiModelProperty(value = "状态",name = "0-未读;1-已读;2-删除;")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
